package com.jerry.contraller;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.jerry.service.UserService;


@Controller
@RequestMapping(value = "/user")
public class UserController {
	
	
	@Autowired
	private UserService userService;

	
	@RequestMapping(value = "/getUser",method = RequestMethod.GET)
	public void getUserInfo(){
		System.out.println("springmvc success");
		Map<String, Object> param = new HashMap<String, Object>();
		
		userService.getUserInfo(param);
		
		// list set map
		
		List<String> list =new ArrayList<String>();
		
		Set<String> set = new HashSet<String>();	
		
		throw new UnsupportedOperationException("不支持操作异常");
	}
	
	
	
}
